package com.liaozhai.community.service;

import com.liaozhai.community.dao.CommentMapper;
import com.liaozhai.community.entity.Comment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CommentService {

    public List<Comment> findCommentsByEntity(int entityType, int entityId, int offset, int limit);

    public int findCommentCount(int entityType, int entityId);

    public int addComment(Comment comment);

}
